<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
<title>邮件发送系统 - Powered By LIUFEI</title>
<script type="text/javascript">
$().ready(function() {

	var $menuItem = $("#menu .menuItem");
	var $previousMenuItem;
	
	$menuItem.click( function() {
		var $this = $(this);
		if ($previousMenuItem != null) {
			$previousMenuItem.removeClass("current");
		}
		$previousMenuItem = $this;
		$this.addClass("current");
	})

})
</script>
</head>
<body class="header">
	<div class="body">
		<div class="bodyLeft">
			<div class="logo"></div>
		</div>
		<div class="bodyRight">
			<div class="link">
				<span class="welcome">
					<strong><shiro:user><shiro:principal/></shiro:user></strong>&nbsp;您好!&nbsp;
				</span>
			</div>
			<div id="menu" class="menu">
				<ul>
						<li class="menuItem">
							<a href="${ctx}/admin/menu/admin" target="menuFrame" hidefocus>管理员</a>
						</li>
	            </ul>
	            <div class="info">
					<a class="logout" href="${ctx}/security/logout" target="_top">退出</a>
				</div>
			</div>
		</div>
	</div>
</body>
</html>